package com.six.service;


import com.six.domain.User;
import com.six.util.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Resource
public interface LoginService  {
    Result register();

    Result login();

    //    用于注册时 添加用户
   int addUser(String uname,String password);
//    用于登录时，验证用户
   List<User> queryByuname(String uname);
}
